package shujia.day01;

public class BianLiangDemo6 {
    public static void main(String[] args) {
        System.out.println('a');
        System.out.println('a' + 1);  // 先拿出字符a的ASCII码数值，再进行运算

        System.out.println("hello" + 'a' + 1); // helloa1
        System.out.println('a' + 1 + "hello"); // 98hello
        System.out.println("5+5=" + (5 + 5)); // 5+5=10
        System.out.println(5 + 5 + "=5+5"); // 10=5+5

    }
}
